package com.nightpiter.view.graphics.factories;

import com.nightpiter.view.graphics.Rect;
import com.nightpiter.view.graphics.abstaractions.AbstractRect;

public abstract class RectFactory {

	private static RectFactory factory;

	public static RectFactory getFactory() {
		return factory;
	}

	public static void setFactory(RectFactory factory) {
		RectFactory.factory = factory;
	}

	public abstract AbstractRect create();

	public abstract AbstractRect create(int left, int top, int right, int bottom);

	public abstract AbstractRect create(Rect aRect);

}
